package marcis.jarina.hibernate;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: Jan Marcis
 * Date: 30.6.11
 * Time: 14:12
 * To change this template use File | Settings | File Templates.
 */
public interface ContinuousSaver<T> {

    void addEntity(T object);

    boolean isOverFlow(List<T> list);

    void save();

    List<T> getList();

}
